package com.ruoyi.finance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.finance.domain.vo.PaymentRequestVo;
import com.ruoyi.procured.domain.PaymentRequest;
import com.ruoyi.procured.domain.vo.PaymentVo;

import java.util.List;

public interface IPaymentRequestService extends IService<PaymentRequest>
{

    /**
     * 查询申请款列表
     * 
     * @param paymentRequestVO
     * @return 申请款集合
     */
    public List<PaymentRequestVo> selectPaymentRequestList(PaymentRequestVo paymentRequestVO);
    /**
     * 驳回申请款
     */
    void rejectPaymentRequest(List<String> paymentRequestIds, String processRemark, Long userId);
    /**
     * 核准申请款
     */
    void approvedPaymentRequest(List<String> paymentRequestIds, Long userId, String nickName);

    //校验申请单状态
    // paymentReviewStatus:0审核中，1已审核，2已驳回
    // paymentStatus：0未付款
    void CheckPaymentRequestStatus(List<String> paymentRequestIds,String paymentReviewStatus, String message,String paymentStatus);

    List<PaymentVo> selectPaymentVotList(PaymentVo paymentVo);
}
